package com.zhangbo.service;

import com.github.pagehelper.PageInfo;
import com.zhangbo.entity.User;

public interface UserService {

	int register(User user);
	
	User findByName(String uname);
	
	User login(User user);
	
	PageInfo<User> list(int page);
	
	int Lock(int userid ,int status);
}
